package uns.fit.gis.mapobj;
public class Edge { 
    public Segment segment;
    Crossroads  target;
    short   distance;
    
    public Edge(Segment s,Crossroads t,short n)
    {
        segment = s;
        target = t;
        distance = n;
    }
    public Edge()
    {
        
    }
    public Edge clone()
    {
        Edge tmp = new Edge(segment,target,distance);
        return tmp;
    }
}
    